#!/usr/local/bin/python3

import sys

__author__ = 'Winter'

count = 0

sum = 0

while count <= 100:
    sum += count
    count += 1

print(sum)

sequence = [12, 1, 2, 4]
for i, j in enumerate(sequence):
    print(i, j)

for i in range(len(sequence)):
    print('%d,%d', i, sequence[i])

a = 1

if a != 0:
    pass
    print('pass')
else:
    print('a=0')

it = iter(sequence)
for x in it:
    print(x)

while True:
    try:
        print(next(it))
    except StopIteration:
        sys.exit()


